<?php
namespace app\admin\model;
use think\Model;
use think\Db;
class Carousel extends Model{
   function index(){
       $result=Db::table('carousel')->where("delete",0)->order('sort asc')->limit(6)->select();
       return $result;
   }

}